<!-- <td id="center_td" valign="top">
	<a title="Свернуть/Развернуть правый блок" href="javascript:void(0);" onClick="block_()"><img src="themes/admin/images/arrow.gif" width="7" height="38" style="margin-top: 180px;" /></a>
</td> -->
<td id="right_block" valign="top">
<table id="block" width="100%" cellspacing="0" cellpadding="0">
	<tr>
		<td align="left" width="50%"><img src="themes/admin/images/block_t_l.gif" /></td>
		<td align="right" width="50%"><img src="themes/admin/images/block_t_r.gif" /></td>
	</tr>
	<tr><td id="block_body" colspan="2" align="left">
<!--  -->
<div id="block_nav">
<?
$menu = "b_cat";
$on_line = "b_cat";
$site = "b_cat";
if (!isset($_SESSION['admin_block_file'])) $menu = "b_selected";
if ($_SESSION['admin_block_file'] == "include/ajax/admin_menu.php") $menu = "b_selected";
if ($_SESSION['admin_block_file'] == "include/ajax/on-line.php") $on_line = "b_selected";
if ($_SESSION['admin_block_file'] == "include/ajax/site.php") $site = "b_selected";
?>
<a onClick="sel('b_menu', 'include/ajax/admin_menu.php')" href="javascript:void(0)"><div id="b_menu" class="<? print $menu; ?>">Меню</div></a>
<a onClick="sel('on-line', 'include/ajax/on-line.php')" href="javascript:void(0)"><div id="on-line" class="<? print $on_line; ?>">On-line</div></a>
<a onClick="sel('site', 'include/ajax/site.php')" href="javascript:void(0)"><div id="site" class="<? print $site; ?>">Сайт</div></a>
</div>
<div id="block_content">
<?
if ($_SESSION['admin_block_file'] != false) include $_SESSION['admin_block_file'];
else include "include/ajax/admin_menu.php";
?>
</div>
<!--  -->
	</td></tr>
	<tr>
		<td align="left" width="50%"><img src="themes/admin/images/block_b_l.gif" /></td>
		<td align="right" width="50%"><img src="themes/admin/images/block_b_r.gif" /></td>
	</tr>
</table>

</td>

</tr>
</table>

<!-- END BODY TABLE -->

<script type="text/javascript">
function change(the_file) {
	var ajax = new dle_ajax();
	ajax.onShow ("");
	var varsString = "";
	ajax.setVar("save", "save_true");
	ajax.requestFile = the_file;
	ajax.method = "GET";
	ajax.element = "block_content";
	ajax.sendAJAX(varsString);
}

function sel (id, the_file) {
	document.getElementById('on-line').className = "b_cat";
	document.getElementById('site').className = "b_cat";
	document.getElementById('b_menu').className = "b_cat";
	
	document.getElementById(id).className = "b_selected";
	change (the_file);
}

function block_ () {
	if (document.getElementById('right_block').style.display == 'none') document.getElementById('right_block').style.display= '';
	else document.getElementById('right_block').style.display = 'none';
}
</script>


<!-- START FOOTER TABLE -->
<table id="footer_table" width="100%" align="center" cellpadding="0" cellspacing="0">
	<tr>
		<td>
			<a href="/" target="_blank">Вернуться на сайт</a><br>
			© Explay Engine Content Management System
		</td>
	</tr>
</table>

<!-- END FOOTER TABLE -->

</body>

</html>